package
        com.chb.controller;

import com.chb.model.entity.Role;
import com.chb.model.entity.SysOperLog;
import com.chb.model.vo.PageBean;
import com.chb.model.vo.Result;
import com.chb.service.SysOperLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author：xIAO_ZHOU_TX
 * @date：Created in 2023/10/10 20:52
 * @description：操作日志
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("/sysOperLog")
public class SysOperLogController {
    @Autowired
    private SysOperLogService sysOperLogService;
    @PostMapping
    public PageBean<SysOperLog> getAllShoping(Integer currentPage, Integer pageSize) {
        PageBean<SysOperLog> sysOperLogPageBean = sysOperLogService.selectAll(currentPage, pageSize);
        return sysOperLogPageBean;
    }

}